import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// 自动导入图标
import "icons";
// 路由权限控制
import "@/router/permission";
// 按钮权限
import permission from "@/directives/permission";
Vue.directive("permission", permission);

import "./plugins/element.js";

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
